<?php
class Apps_View_Helper_LabelContactStatus extends Apps_View_Helper_LabelBase {
    public $map = array(
        M_DbTable_Enquire::STATUS_ACTIVE   => array('New', 'label-warning'),
        M_DbTable_Enquire::STATUS_INACTIVE	=> array('Đã xem', 'label-success')
    );

    public function labelContactsStatus($type, $label=true) {
        return $this->map($type, $label);
    }
}